import HTTP from '@/http/http'
const centerApi = import.meta.env.VITE_BASE_URL
class Api extends HTTP {
  // 交通模块，道路风险排行，道路线段预报，道路风险预警，逐时
  getRoadLineRisk(params?: any) {
    return this.request({
      method: 'get',
      url: `${centerApi}/roadTraffic/getRoadLineRisk`,
      params
    })
  }
}
export default new Api()
